<template>
<div>
    <h2 style="text-align: center;">用户投资赎回列表</h2>
    <InvestCommon v-slot="info">
        <a href="#" @click="AdminLookRedeem(info.id)">用户投资赎回明细</a>
    </InvestCommon>
</div>
</template>

<script setup lang="ts">
import InvestCommon from '../Invests/InvestCommon.vue'
import { useRouter } from 'vue-router';

//创建路由实例
const router=useRouter();

//完成用户赎回明细跳转页面
const AdminLookRedeem=(Iid:number)=>{
    router.push({
        name:"ShowUserRedeemPage",
        params:{
            Iid:Iid
        }
    })
}
</script>